#ifndef __SOMLG__STATE__H__
#define __SOMLG__STATE__H__

#include "area.h"
#include "character.h"
#include "objects.h"
#include "player.h"

#ifdef LINUX
#include <X11/Xlib.h>
#include <X11/Xutil.h>
extern Display *display;
extern Window   window;
#endif /*LINUX*/

extern area_t carea;
extern character_t *characters;
extern player_t *players;
extern int is_running;

void init_somlg();
void close_somlg();

#endif
